package com.odobenus.sample.bean;

import org.springframework.stereotype.Component;

import com.odobenus.client.anno.OdobenusFile;
import com.odobenus.client.anno.OdobenusItem;
@Component
@OdobenusFile("db.properties")
public class DBConfig {

	@OdobenusItem("db.username")
	private String username;
	@OdobenusItem("db.password:123")
	private String password;
	@OdobenusItem("db.url")
	private String url;
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	@Override
	public String toString() {
		return "DBConfig [username=" + username + ", password=" + password + ", url=" + url + "]";
	}
	
}
